Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip Namespace / QuickZip Class / GetZipContents Method / GetZipContents(String,String[]) Method
The fully-qualified path and name of the zip file.
The string masks that are used to filter the files.


In This Topic
    GetZipContents(String,String[]) Method
    In This Topic
    Gets the content of a zip file.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetZipContents( _
       ByVal zipFileName As String, _
       ByVal ParamArray fileMasks() As String _
    ) As QuickZipItem()
    'Usage
     
    Dim zipFileName As String
    Dim fileMasks() As String
    Dim value() As QuickZipItem
     
    value = QuickZip.GetZipContents(zipFileName, fileMasks)
    public static QuickZipItem[] GetZipContents( 
       string zipFileName,
       params string[] fileMasks
    )

    Parameters

    zipFileName
    The fully-qualified path and name of the zip file.
    fileMasks
    The string masks that are used to filter the files.

    Return Value

    An array of QuickZipItem objects that contain information regarding each file retrieved.
    Remarks

    Zip files are case sensitive; therefore, the string passed in the fileMasks parameter, will be used "as-is".

    For example, if a zip file contains a file named "FILE.TXT" and "file.txt" is passed to the fileMasks parameter, "FILE.TXT" will not be retrieved.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also